# frozen_string_literal: true
json.array! @users do |user|
  code = user.building.code if user.building
  name = user.village.name  if user.village
  json.home  name + '区' + code + '栋' +user.floor_code + '室' + user.name
end
